/*
 * SoundReader.h
 *
 *  Created on: 2009/02/04
 *      Author: Yongshik Cho
 */

#ifndef SOUNDREADER_H_
#define SOUNDREADER_H_

#include "../core/Prerequisites.h"
#include "../active/Audible.h"
#include <tinyxml.h>


class SoundReader
{
public:
	static const std::string _NAME_TAG;
	static const std::string _PATH_TAG;
	static const std::string _ROLLOFF_TAG;
	static const std::string _AUDIBLE_TAG;
	static const std::string _VOLUME_TAG;
	static const std::string _LEFT_TAG;
	static const std::string _RIGHT_TAG;
	static const std::string _POSITION_TAG;
	static const std::string _X_TAG;
	static const std::string _Y_TAG;
	static const std::string _VELOCITY_TAG;
	static const std::string _DIRECTION_TAG;
	static const std::string _LOOPTYPE_TAG;
	static const std::string _LOOPCOUNT_TAG;
	static const std::string _LOOPCOUNT_VALUE;
	static const std::string _ENDLESS_VALUE;
	static const std::string _TRUE_TAG;
	static const std::string _FALSE_TAG;

public:
	static Audible* parse(TiXmlElement* element);
};

#endif /* SOUNDREADER_H_ */
